package com.letoken.platform.repo.admin.req.mall;

import com.letoken.platform.repo.mall.po.AdminMallPromotion;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;


/**
 * @author letokenlabs
 * @date 2022/11/23$
 */
@Data
@ApiModel(value = "星推官修改请求对象", description = "星推官修改请求对象")
public class PromotionUpdateReq implements Serializable {

    @ApiModelProperty("记录id")
    @NotNull(message = "id不能为空")
    private Integer id;

    @ApiModelProperty(value = "每级分红比例")
    private BigDecimal bonus;

    @ApiModelProperty(value = "星推官最低等级")
    private Integer minLevel;

    @ApiModelProperty(value = "星推官最高等级")
    private Integer maxLevel;

    @ApiModelProperty(value = "星推官升级需要的商户等级")
    private Integer mallLevel;


    @ApiModelProperty(value = "1表示直推1个x星商户升一星")
    private Integer mallNum;

    @ApiModelProperty(value = "状态0可用 1不可用")
    private Integer state;


    @ApiModelProperty(value = "是否需要上架 1需要 0不需要")
    private Integer needPush;

}
